﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package eu.orangeflash.webapis.events {
    import eu.orangeflash.webapis.xmlrpc.*;
    import flash.events.*;

    public class XMLRPCEvent extends Event {

        private var method:IMethodCall;
        private var serviceClient:IClient;

        public static const INVOKE:String = "invoke";
        public static const FAULT:String = "fault";
        public static const RESULT:String = "result";

        public function XMLRPCEvent(type:String, client:IClient, methodCall:IMethodCall){
            super(type);
            serviceClient = client;
            method = methodCall;
        }
        public function get client():IClient{
            return (serviceClient);
        }
        public function get methodCall():IMethodCall{
            return (method);
        }

    }
}//package eu.orangeflash.webapis.events 
